import Vue from 'vue'
import App from './App'
import store from "@/Vuex/store.js"

import uView from "uview-ui";
Vue.use(uView);
import scrollList from "@/components/scrollList/scrollList.vue"
Vue.component('scrollList', scrollList)
import customShowModal from '@/components/pageLayout/showModal/index.vue'
Vue.component('customShowModal', customShowModal)

import {
	formatLink,
	formatDate,
	getDictionaryData,
	enCodeUrl,
	deCodeUrl
} from "@/utils/utils.js";
Vue.prototype.formatLink = formatLink
Vue.prototype.formatDate = formatDate
Vue.prototype.getDictionaryData = getDictionaryData
Vue.prototype.enCodeUrl = enCodeUrl
Vue.prototype.deCodeUrl = deCodeUrl

import request from "./request/request.js"
Vue.prototype.$request = request

// 混入
import {
	mixin
} from "./utils/mixin.js"
Vue.mixin(mixin)
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App,
	store
})
app.$mount()